package com.may.demo.core;

import lombok.Data;

/**
 * @program: demo
 * @description:
 * @author: Bobby.Ma
 * @create: 2020-11-14 13:57
 **/
public enum RCode {

    SUCCESS("success",200);


    private String msg;
    private Integer code;

    RCode(String msg, Integer code){
        this.msg = msg;
        this.code = code;
    }

    public String getMsg(){
        return this.msg;
    }

    public Integer getCode(){
        return this.code;
    }
}
